<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!--JSTL core tag need to add jstl 1.2 jar to lib-->
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head><title>Struts 2 Training Materials</title>
</head>

<body>
<c:set var="root" value="${pageContext.request.contextPath}"/>
<div align="center">
    <center>
        <table border="1" cellspacing="1" width="400">
            <tr>
                <td width="390"><font size="4"><b>Struts 2 Intro</b></font></td>
            </tr>
            <tr>
                <td width="384">
                    <ul>
                        <li>
                             <a href="#">What is Struts 2???</a>
                            <br>
                            - Struts 2 Frame work is also another implementation of Model-View-Controller (MVC).
                            <br>
                            - Struts 2 has a significant different from Struts 1 which was combine with WebWork and
                              Struts 1.x web frameworks.
                            <br>
                            - It has features like interceptors, "Value Stack" concept, OGNL expressions.
                        </li>

                        <li>
                           <a href="#">Struts 2 Advantages</a>
                            <br>
                            - <b>Simplified Design</b> - Struts s classes are based on interfaces (rather than abstract classes).
                            Also core interfaces are HTTP independent. Struts 2 action classes are framework independent and simplified
                            to simple POJOs. Framework components are loosely coupled.
                            <br>
                            - Simplified actions - a simple java class with a execute() method.
                            <br>
                            - No ActionForms - Simple JavaBeans are used to set properties directly. No need to use all String properties.
                            <br>
                            - Simplified testability - since HTTP independent and framework neutral.
                            <br>
                            - Better Tag Features
                            <br>
                            - Annotations introduced
                            <br>
                            - Quick Start - many changes can be done on the fly without restarting the web container.
                            <br>
                            - Easy Spring integration - Struts 2 Actions are Spring-aware. Just need to add Spring beans!
                            <br>
                            - Easy plugins
                            <br>
                            - Ajax Support - The framework provides a set of tags to help you ajaxify your applications,
                        </li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td>
                    <a href="${root}/index.jsp">HOME</a>
                </td>
            </tr>
        </table>
    </center>
</div>
</body>
</html>